//
//  AFNETWORK.h
//  PeaceComputer
//
//  Created by dlios on 15-9-2.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "URLCache.h"

typedef void (^AFNData)(id block);
@interface AFNETWORK : NSObject

+ (void)getDataWithString:(NSString *)string block:(AFNData)blockData;

+ (void)reloadDataWithString:(NSString *)string block:(AFNData)blockNewData;

+ (void)reloadDataUpWithString:(NSString *)string block:(AFNData)blockNewDataUp;

+ (void)getDataWithNoCacheString:(NSString *)string block:(AFNData)block;
@end
